﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="Scripts/jquery-1.10.2.min.js"></script>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
    <!--angular-->
    <script src="Scripts/angular_1.5.8/angular.min.js"></script>
    <script src="Scripts/AngularMaterial/angular-animate.min.js"></script>
    <script src="Scripts/AngularMaterial/angular-aria.min.js"></script>
    <script src="Scripts/AngularMaterial/angular-material.min.js"></script>
    <link href="Content/angular-material.min.css" rel="stylesheet" />
    <!--自己的JS和CSS-->
    <link href="css/index.css" rel="stylesheet" />
</head>
<body>
    <div class="index_bg">
        <div class="selectPDM" id="selectPDM">
            <img src="images/pdm.png" onclick="selectPDM()" />
            <p>进入PDM系统</p>
        </div>
        <div class="selectPhone" id="selectPhone">
            <img src="images/phone.png" onclick="selectPhone()" />
            <p>拍照上传</p>
        </div>
    </div>

    <script type="text/javascript">
        var selectedPhone = document.getElementById("selectPhone").style.display;
        if (selectedPhone == 'none') {
            window.location.href = "pdm.html";
        } else {
            function selectPDM() {
                window.location.href = "pdmMobile.html"
            }
            function selectPhone() {
                window.location.href = "phone.html";
            }
        }
        
    </script>
</body>
</html>
